package slavik.voloshyn.vashmagazyn;

import java.util.Vector;

public class CustomVector<String> extends Vector<String>
{

	@Override
	public synchronized java.lang.String toString()
	{
		StringBuffer stringBuffer = new StringBuffer();
		for (int i = 0; i < this.size(); i++)
		{
			stringBuffer.append(get(i));
			if (i != size() - 1)
			{
				stringBuffer.append(',');
			}
		}
		return stringBuffer.toString();
	}

}
